package com.yyairmarkyy.arctool.item;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by yyairmarkyy on 2017/10/18.
 */

public class ArcFadeItem extends ArcBaseItem {
    public static final int VISIBLE = 0x00000000;

    public static final int GONE = 0x00000008;

    /**
     * 分割线宽度（半径差值）
     */
    private int fadeWith;

    /**
     * 分割线透明度 0-255
     */
    private int alpha = 255;

    private int visiable = VISIBLE;

    public int getFadeWith() {
        return fadeWith;
    }

    public void setFadeWith(int fadeWith) {
        this.fadeWith = fadeWith;
    }

    public int getAlpha() {
        return alpha;
    }

    public void setAlpha(int alpha) {
        this.alpha = alpha;
    }

    public int getVisiable() {
        return visiable;
    }

    public void setVisiable(@FadeVisibility int visiable) {
        this.visiable = visiable;


    }


    @IntDef({VISIBLE, GONE})
    @Retention(RetentionPolicy.SOURCE)
    public @interface FadeVisibility {}

}
